package lession;

public class Demo08 {

	public static void main(String[] args) {
		int a=0;
		int b;
		int sum=0;
		
		while(a<=50) {
			 b=2*a;a++;
			 sum+=b;
		}
		System.out.println(sum);
	}

}
